package com.tanhua.model.mongo;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Document(collection = "soul_results")
public class SoulResult implements Serializable {

    private ObjectId id; //主键id
    @Indexed
    private Long userId; //用户id
    private String date; //创建报告的时间
    private String reportId = "2021xxxxxx"; //报告id
    private String level; //题型级别
    private String conclusion; //性格描述
    private String cover; //封面
    private String outgoing; //维度项-外向
    private String judge; //维度项-判断
    private String abstraction; //维度项-抽象
    private String reason; //维度项-理性
    private Integer score; //分数
}